import { _decorator, Component, EventTouch } from 'cc';
import { tvCell } from '../../Script/base/compoment/TableView';
const { ccclass, property } = _decorator;

@ccclass('testTable')
export class testTable extends Component {
	start() {
		console.log("testTable");
	}
	onItemClick(event:EventTouch, data) {
		const tvcell = event.target.parent as tvCell;
		console.log(tvcell.tvIndex);
	}
}


